package com.dau.entity.customer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dau.entity.BaseEntity;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

@TableName("customer_info")
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class CustomerInfo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;
    private Long customerId;
    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空")
    private String customerUserName;
    /**
     * 名称
     */
    @NotBlank(message = "用户名称不能为空")
    private String customerName;
    /**
     * 电话
     */
    @NotBlank(message = "用户电话不能为空")
    private String customerPhone;
    /**
     * 密码
     */
    @NotBlank(message = "用户密码不能为空")
    private String customerPassword;
    /**
     * 客户vx
     */
    private String customerVx;
    /**
     * 客户vx id
     */
    private String customerVxId;

}
